package business.other.impl;

import business.other.EnterpriseDebtsBilkingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import other.domain.EnterpriseDebtsBilking;
import other.domain.EnterpriseDebtsBilkingCriteria;
import other.mapper.EnterpriseDebtsBilkingMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/17.
 */
@Service(value = "debtsBilkingService")
public class EnterpriseDebtsBilkingServiceImpl implements EnterpriseDebtsBilkingService{

    @Autowired
    EnterpriseDebtsBilkingMapper enterpriseDebtsBilkingMapper;

    @Override
    public List<EnterpriseDebtsBilking> getEnterpriseDebtsBilking() {
        EnterpriseDebtsBilkingCriteria criteria = new EnterpriseDebtsBilkingCriteria();
        criteria.createCriteria().getAllCriteria();
        return enterpriseDebtsBilkingMapper.selectByExample(criteria);
    }
}
